package com.yonyou.ucf.mdf.app.isvdxq.firstpart.location.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.google.gson.Gson;
import com.yonyou.iuap.yms.param.BaseEntity;
import com.yonyou.iuap.yms.annotation.*;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@YMSEntity
@YMSTable(tableName = "dxq_orderstore")
public class OrderStoreEntity extends BaseEntity {

    private Integer id;

    private Short dr = 0;

    //本地业务单据类型 0默认 无标签库存
    private Integer datatype;

    private Integer datastatus;

    private String transtype;

    private String mainid;

    private String code;

    //单据类型 1入 2出
    private Integer type;

    private Integer status;

    private String shopid;

    //库存管理员
    private String inventoryowner;

    private String receiveid;

    private String tplid;

    private String warehouseid;

    private String operateuserid;

    private String operatetime;

    private String operatetype;

    private String operatetypename;

    private String sourceid;

    private String sourcecode;

    private String firstsourceid;

    private String firstsourcecode;

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Short getDr() {
        return dr;
    }

    public void setDr(Short dr) {
        this.dr = dr;
    }

    public Integer getDatatype() {
        return datatype;
    }

    public void setDatatype(Integer datatype) {
        this.datatype = datatype;
    }

    public Integer getDatastatus() {
        return datastatus;
    }

    public void setDatastatus(Integer datastatus) {
        this.datastatus = datastatus;
    }

    public String getTranstype() {
        return transtype;
    }

    public void setTranstype(String transtype) {
        this.transtype = transtype;
    }

    public String getMainid() {
        return mainid;
    }

    public void setMainid(String mainid) {
        this.mainid = mainid;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getShopid() {
        return shopid;
    }

    public void setShopid(String shopid) {
        this.shopid = shopid;
    }

    public String getInventoryowner() {
        return inventoryowner;
    }

    public void setInventoryowner(String inventoryowner) {
        this.inventoryowner = inventoryowner;
    }

    public String getReceiveid() {
        return receiveid;
    }

    public void setReceiveid(String receiveid) {
        this.receiveid = receiveid;
    }

    public String getTplid() {
        return tplid;
    }

    public void setTplid(String tplid) {
        this.tplid = tplid;
    }

    public String getWarehouseid() {
        return warehouseid;
    }

    public void setWarehouseid(String warehouseid) {
        this.warehouseid = warehouseid;
    }

    public String getOperateuserid() {
        return operateuserid;
    }

    public void setOperateuserid(String operateuserid) {
        this.operateuserid = operateuserid;
    }

    public String getOperatetime() {
        return operatetime;
    }

    public void setOperatetime(String operatetime) {
        this.operatetime = operatetime;
    }

    public String getOperatetype() {
        return operatetype;
    }

    public void setOperatetype(String operatetype) {
        this.operatetype = operatetype;
    }

    public String getOperatetypename() {
        return operatetypename;
    }

    public void setOperatetypename(String operatetypename) {
        this.operatetypename = operatetypename;
    }

    public String getSourceid() {
        return sourceid;
    }

    public void setSourceid(String sourceid) {
        this.sourceid = sourceid;
    }

    public String getSourcecode() {
        return sourcecode;
    }

    public void setSourcecode(String sourcecode) {
        this.sourcecode = sourcecode;
    }

    public String getFirstsourceid() {
        return firstsourceid;
    }

    public void setFirstsourceid(String firstsourceid) {
        this.firstsourceid = firstsourceid;
    }

    public String getFirstsourcecode() {
        return firstsourcecode;
    }

    public void setFirstsourcecode(String firstsourcecode) {
        this.firstsourcecode = firstsourcecode;
    }
}
